﻿using FreeSql.DataAnnotations;
using GalaSoft.MvvmLight;
using Newtonsoft.Json;
using PropertyChanged;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace sys_Print.DataAsset
{
    [AddINotifyPropertyChangedInterface]
    [JsonObject(MemberSerialization.OptIn), Table(Name = "t_Item")]
    public class Organization : ObservableObject
    {
        [JsonProperty, Column(Name = "FName", DbType = "varchar(255)")]
        public string FName { get; set; }

        [JsonProperty, Column(Name = "FNumber", DbType = "varchar(255)")]
        public string FNumber { get; set; }

        [JsonProperty, Column(Name = "FDeleted")]
        public bool FDeleted { get; set; }

        [JsonProperty, Column(Name = "FItemClassID")]
        public int FItemClassID { get; set; }

        [JsonProperty, Column(Name = "FLevel")]
        public int FLevel { get; set; }
    }
}
